﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo
{
    [NHibernateEntity(Table = "apl_LanguageDefinitions")]
    public class LanguageDefinition
    {
        public LanguageDefinition() { }

        [PrimaryKey]
        public virtual int Id { get; set; }

        [Property]
        public virtual string DisplayName { get; set; }

        [Property]
        public virtual string Type { get; set; }

        [Property]
        public virtual string CodeHi { get; set; }

        [Property]
        public virtual string CodeLo { get; set; }

        [BelongsTo(Column = "ID_Language")]
        public virtual Language Language { get; set; }
    }
}
